<?php

namespace app\common\service;


class CodeService
{
    public static function userInvite($mobile)
    {
        return substr(md5($mobile . time()), 0, 7);
    }
}